<?php

use backend\assets\EchartsAsset;

/* @var $this yii\web\View */

$this->title = '世界杯竞猜';
EchartsAsset::register($this);
?>
<div class="row">
    <div class="col-lg-3 col-xs-6">
        <!-- small box -->
        <div class="small-box bg-aqua">
            <div class="inner">
                <h3>
                    <?php echo \yii\helpers\Html::label($getPacketUserCount);?>
                </h3>
                <p>
                    领取过红包的用户数量
                </p>
            </div>
            <div class="icon">
                <i class="ion ion-bag"></i>
            </div>
            <a href="<?php echo \yii\helpers\Url::to('red-packets/index') ?>" class="small-box-footer">
                查看详情 <i class="fa fa-arrow-circle-right"></i>
            </a>
        </div>
    </div><!-- ./col -->

    <div class="col-lg-3 col-xs-6">
        <!-- small box -->
        <div class="small-box bg-green">
            <div class="inner">
                <h3>
                    <i class="fa fa-rmb">&nbsp;</i><?php echo \yii\helpers\Html::label($totalAmount);?>
                </h3>
                <p>
                    当前提现总额
                </p>
            </div>
            <div class="icon">
                <i class="ion ion-stats-bars"></i>
            </div>
            <a href="<?php echo \yii\helpers\Url::to('with-draw/index');?>" class="small-box-footer">
                查看详情 <i class="fa fa-arrow-circle-right"></i>
            </a>
        </div>
    </div><!-- ./col -->
    <div class="col-lg-3 col-xs-6">
        <!-- small box -->
        <div class="small-box bg-yellow">
            <div class="inner">
                <h3>
                    <i class="fa fa-rmb">&nbsp;</i><?php echo \yii\helpers\Html::label($totalRedPacketCash);?>
                </h3>
                <p>
                    发放红包现金总额
                </p>
            </div>
            <div class="icon">
                <i class="ion ion-person-add"></i>
            </div>
            <a href="<?php echo \yii\helpers\Url::toRoute(['red-packets/index','SearchRedPackets[type_id]'=>1,'SearchRedPackets[status]'=>2])?>" class="small-box-footer">
                查看详情 <i class="fa fa-arrow-circle-right"></i>
            </a>
        </div>
    </div><!-- ./col -->

    <div class="col-lg-3 col-xs-6">
        <!-- small box -->
        <div class="small-box bg-red">
            <div class="inner">
                <h3>
                    <i class="fa fa-rmb">&nbsp;</i><?php echo \yii\helpers\Html::label($businessRedPacketCash);?>
                </h3>
                <p>
                    赞助商发放红包现金总额
                </p>
            </div>
            <div class="icon">
                <i class="ion ion-person-add"></i>
            </div>
            <a href="<?php echo \yii\helpers\Url::to('business-red/index') ?>" class="small-box-footer">
                查看详情 <i class="fa fa-arrow-circle-right"></i>
            </a>
        </div>
    </div><!-- ./col -->
</div>

<div class="row">
    <div class="col-lg-6 col-xs-12">
        <div class="box">
            <div class="box-header with-border">
                <i class="fa fa-hdd-o"></i>
                <h3 class="box-title">系统信息</h3>
            </div><!-- /.box-header -->
            <div class="box-body">
                <dl class="dl-horizontal">
                    <?php foreach ($sysInfo as $key => $info) :?>
                        <dt><?= $key ?></dt>
                        <dd><?= $info ?></dd>
                    <?php endforeach;?>
                </dl>
            </div><!-- /.box-body -->
        </div>
    </div>
    <div class="col-lg-6 col-xs-12">
        <div class="box">
            <div class="box-header with-border">
                <i class="fa fa-codepen"></i>
                <h3 class="box-title">产品团队</h3>
            </div><!-- /.box-header -->
            <div class="box-body">
                <dl class="dl-horizontal">
                    <dt>产品名称</dt>
                    <dd>世界杯管理平台</dd>
                    <dt>开发公司</dt>
                    <dd>世界杯</dd>
                    <dt>开发人员</dt>
                    <dd>paul，xiongzai</dd>
                    <dt>访问者IP</dt>
                    <dd><?= Yii::$app->request->getUserIP()?></dd>
                    <dt>&nbsp;</dt><dd>&nbsp;</dd>
                    <dt>&nbsp;</dt><dd>&nbsp;</dd>
                    <dt>&nbsp;</dt><dd>&nbsp;</dd>
                    <dt>&nbsp;</dt><dd>&nbsp;</dd>
                    <dt>&nbsp;</dt><dd>&nbsp;</dd>
                </dl>
            </div><!-- /.box-body -->
        </div>
    </div>
</div>
